package com.qf.base.mapper;

import com.qf.base.domain.BaseCarrier;

import java.util.List;

public interface BaseCarrierMapper {
    List<BaseCarrier> selectCarrierList(BaseCarrier carrier);

    int insertCarrier(BaseCarrier carrier);

    int updateCarrier(BaseCarrier carrier);

    BaseCarrier selectCarrierById(Long carrierId);

    int deleteCarrierByIds(Long[] ids);

    void updateVehicleCount(BaseCarrier carrier);

    void updateDriverCount(BaseCarrier carrier);
}
